package com.aipanda.pojo;

import java.util.Date;

/**
 * @param  name			名称		
 * @param  url			URL		
 * @param  isDirectory	是否为目录		
 * @param  size			大小	
 * @param  lastModified	最后修改日期	
 * @author wanyuxiang	
 *
 */
public class FileInfo {
	private String name;
	private String url;
	private Boolean isDirectory;
	private Long size;
	private Date lastModified;

	/**
	 * 文件类型枚举类
	 * @param image  图片
	 * @param flash  Flash
	 * @param media  媒体
	 * @param file  文件
	 * 
	 * @author wanyuxiang
	 * 
	 */
	public enum FileType {
		image, flash, media, file;
	}

	/**
	 * 顺序类型枚举类
	 * @param name  名称
	 * @param size  大小
	 * @param type  类型
	 * 
	 * @author wanyuxiang
	 * 
	 */
	public enum OrderType {
		name, size, type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Boolean getIsDirectory() {
		return this.isDirectory;
	}

	public void setIsDirectory(Boolean isDirectory) {
		this.isDirectory = isDirectory;
	}

	public Long getSize() {
		return this.size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public Date getLastModified() {
		return this.lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
}
